<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>质保部测试系统</title>
<link href="/Terminator/css/newframe.css" rel="Stylesheet"
	type="text/css" />
<link href="/Terminator/css/menu.css" rel="Stylesheet" type="text/css" />
<style type="text/css">
body {
	margin: 0;
	padding: 0;
	border: 0;
	overflow: hidden;
	height: 100%;
	max-height: 100%;
}
</style>
<link href="/Terminator/css/frame.css" rel="stylesheet" type="text/css">
<script src="/Terminator/js/jquery-3.0.0.min.js"></script>
<script src="/Terminator/js/jquery.cookie.js">
	
</script>
<script src="/Terminator/js/frame.js">
	
</script>
<script language="javascript" type="text/javascript">
	function SetWinHeight(obj) {
		var win = obj;
		if (document.getElementById) {
			if (win && !window.opera) {
				if (win.contentDocument
						&& win.contentDocument.body.offsetHeight)
					win.height = win.contentDocument.body.offsetHeight;
				else if (win.Document && win.Document.body.scrollHeight)
					win.height = win.Document.body.scrollHeight;
			}
		}
	}
</script>
<script src="/Terminator/js/angular.min.js"></script>
</head>
<body>
	<form id="form1" runat="server">
		<div id="framecontentLeft">
			<div class="menu">
				<ul>
					<li><a href="<%=basePath%>/user/interface.do" target="content">接口测试</a></li>
					<li><a href="<%=basePath%>/user/interfaceHeader.do"
						target="content">Header设置</a></li>
					<li><a href="<%=basePath%>/user/testCase.do" target="content">用例库</a></li>
				</ul>
			</div>
		</div>
		<div id="framecontentTop" ng-app="myApp" ng-controller="myCtrl">
			<table width="100%" height="80" class="table">
				<tr>
					<td class="td1">
						<div align="left">
							<input disabled="disabled" class="time" align="top" size="50">
						</div>
					</td>
					<td align="center" class="td2">质保部测试系统</td>
					<td align="right" class="td3">
						<div align="left" id="name">欢迎您：${user.name}</div>
						<div align="right">
							<img src="<%=basePath%>/image/main_21.gif" width="26" height="19"
								class="fenge"> <a href="<%=basePath%>user/logout.do"
								target="_parent"><img src="<%=basePath%>/image/main_20.gif"
								width="48" height="19" class="quit"> </a>
						</div>
					</td>
				</tr>
			</table>
		</div>
		<div id="maincontent">
			<iframe id="content" name="content"
				onload="Javascript:SetWinHeight(document.getElementById('maincontent'))"
				frameborder="0" width="100%" height="100%"></iframe>
		</div>
	</form>
</body>
</html>
